﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="changepassword.aspx.cs" Inherits="xiugai" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>无标题页</title>
    <script type="text/javascript">
    
      function pageLoad() {
      }
    
    </script>
<style type="text/css" media="all">
        @import "style.css";
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div class="barTopSpace">
    </div>
    <div class="bar">
    </div>
    <div>
    <table border="0" align="center" style="width: 80%">
  
  <tr>
    <td colspan="2" class="style9"></td>
  </tr>
  <tr>
    <td colspan="2" align="center" class="style10">
    <table height="162" border="0" style="width: 326px">
    
  <tr>
    <th scope="col" colspan="2" align="left" bgcolor="#666699" class="style4">修改密码</th>
  </tr>
  <tr>
    <td colspan="2" class="style11">
    </td></tr>
  <tr>
    <td class="style12" align="left">
        <asp:Label ID="Label1" runat="server" Text="原密码：" Font-Size="14px"></asp:Label>
      </td>
    <td class="style13" >
        <asp:TextBox ID="TextBox3" runat="server" TextMode="Password" Font-Size="14px"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
            ControlToValidate="TextBox3" Display="Dynamic" ErrorMessage="原密码不能为空">*</asp:RequiredFieldValidator>
      </td>
  </tr>
  <tr>
    <td class="style7" align="left">
        <asp:Label ID="Label2" runat="server" Text="新密码：" Font-Size="14px"></asp:Label>
      </td>
    <td class="style8">
        <asp:TextBox ID="TextBox1" runat="server" TextMode="Password" Font-Size="14px"></asp:TextBox>
      </td>
  </tr>
  <tr>
    <td class="style7" align="left">
        <asp:Label ID="Label3" runat="server" Text="确认新密码：" Font-Size="14px"></asp:Label>
      </td>
    <td class="style8">
        <asp:TextBox ID="TextBox2" runat="server" TextMode="Password" Font-Size="14px"></asp:TextBox>
        <asp:CompareValidator ID="CompareValidator1" runat="server" 
            ControlToCompare="TextBox2" ControlToValidate="TextBox1" Display="Dynamic" 
            ErrorMessage="两次输入密码不一致">*</asp:CompareValidator>
      </td>
  </tr>
  <tr>
  <td colspan="2" class="style14">
  </td></tr>
  <tr>
    <td class="style1" align="left">
        &nbsp;&nbsp;&nbsp;
        <asp:Button ID="Button1" runat="server" Text="确认修改" onclick="Button1_Click" 
            Font-Size="14px" />
      </td>
    <td class="style2" align="left">
        &nbsp;&nbsp;&nbsp;
        <asp:Button ID="Button2" runat="server" Text="重置" Font-Size="14px" />
        <asp:ValidationSummary ID="ValidationSummary1" runat="server" 
            ShowMessageBox="True" ShowSummary="False" />
      </td>
  </tr>
</table>
      </td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  </table>
    </div>
    </form>
</body>
</html>
